//
//  MainViewController.m
//  sandbox
//
//  Created by 杨岑 on 1/15/15.
//  Copyright (c) 2015 杨岑. All rights reserved.
//

#import "MainViewController.h"

@interface MainViewController ()
@property (weak) IBOutlet NSImageView* theImage;
@end

@implementation MainViewController

- (void)viewDidLayout
{
    //[self resizeTheImage];
    /*NSLog(@"%.3f,%.3f,%.3f,%.3f", self.view.frame.origin.x,
                self.view.frame.origin.y,
                self.view.frame.size.width,
                self.view.frame.size.height);*/
}

- (void)resizeTheImage
{
    [_theImage setFrame:self.view.visibleRect];
}

@end
